Utility class helping to create hashes.
More...
|
static unsigned long long | combine (unsigned long long hash0, unsigned long long hash1) |
|
template<typename T > |
static unsigned long long | combine (unsigned long long hash0, T number1) |
|
Utility class helping to create hashes.
◆ combine() [1/2]
static unsigned long long nkGraphics::HashHelper::combine |
( |
unsigned long long |
hash0, |
|
|
unsigned long long |
hash1 |
|
) |
| |
|
static |
Combines two hashes into another one.
- Parameters
-
hash0 | The base hash to combine. |
hash1 | The second hash to combine. |
- Returns
- Both hash combined into one.
◆ combine() [2/2]
template<typename T >
static unsigned long long nkGraphics::HashHelper::combine |
( |
unsigned long long |
hash0, |
|
|
T |
number1 |
|
) |
| |
|
static |
Combines two hashes into another one. This template is meant to help combining different type of data.
- Parameters
-
hash0 | The base hash to combine. |
number1 | The other number to combine. |
- Returns
- Both hash combined into one.
The documentation for this class was generated from the following file: